"""
name(姓名):郝朝帅
data(时间):2020/5/26 9:18
affair(事件):
"""
from rest_framework import serializers
# from models import Goods,Ddan
from myapp.models import Goods,Users,Ddan
#建立序列化类
class GoodsSer(serializers.ModelSerializer):

	class Meta:
		model = Goods
		fields = "__all__"


#建立序列化类
class DdanSer(serializers.ModelSerializer):

	class Meta:
		model = Ddan
		fields = "__all__"
